Effective Template Metaprogram Development

نویسندگان

  • Ádám Sipos
  • Zoltán Porkoláb
چکیده

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Functional Extensions to the Boost Metaprogram Library

Boost metaprogram library is one of the most important foundation for C++ template metaprogramming. The library implements commonly used compilation-time algorithms and meta-datastructures in an extendible and reusable way. Despite the well-known commonality of functional programming paradigm, boost mpl lacks a few important features to directly support functional style. In this paper we propos...

متن کامل

DSL in C++ Template Metaprogram

We discuss a DSL integration technique for the C++ programming language. The solution is based on compile-time parsing of the DSL code. The parser generator is a C++ template metaprogram reimplementation of a runtime Haskell parser generator library. The full parsing phase is executed when the host program is compiled. The library uses only standard C++ language features, thus our solution is h...

متن کامل

Towards Generative Metaprogramming

Metaprogramming is the concept that program synthesis is a computation. Generative programming is about developing metaprograms that synthesize other programs. Our intention goes one step beyond: we aim to generate metaprograms, which when executed, will generate a target program of a product line. This work describes the GeneRative metaprOgramming for Variable structurE (GROVE) approach to syn...

متن کامل

Measuring Compilation Time of C++ Template Metaprograms

Template metaprograms have become an essential part of today’s C++ programs. Despite their importance there are surprisingly few tools for creating, using and analysing them efficiently. The radically increased compilation time of programs using template-heavy code is one of the phenomena of which root is a serious challange to trace down. The compilation speed can increase when one starts usin...

متن کامل

Domain-Specific Language Integration with C++ Template Metaprogramming

Domain specific language integration has to provide the right balance between the expressive power of the DSL and the implementation and maintenance cost of the applied integration techniques. External solutions may perform poorly as they depend on third party tools which should be implemented, tested and then maintained during the whole lifetime of the project. Ideally a self-contained solutio...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009